﻿using System;
using System.Collections.Generic;
using System.Collections;
using System.Linq;
using System.Text;
using libtcodWrapper;
using Console = libtcodWrapper.Console;

namespace HDHack
{
    class Dungeon
    {
        public int size;
        public List<Level> Levels = new List<Level>();
        public Program pProgram;
        public int CurrentLevelIndex;
        public MonsterDictionary md;
        public bool ComplexCommand;

        public Dungeon(int isize, Program pp)
        {
            size = isize;
            md = new MonsterDictionary();
            pProgram = pp;
            CurrentLevelIndex = 0;
            ComplexCommand = false;
        }



        public void GenerateLevels()
        {
            for (int i = 0; i < size; i++)
            {
                Level tempLevel = new Level(pProgram.d, i);
                tempLevel.PopulateLevel();
                Levels.Add(tempLevel);
            }
        }

    }
}
